#include "waHttpClient.h"
#include <string>
using namespace std;
int main()
{
	webapp::HttpClient cli("http://api.weixin.qq.com/messages?access_token=RaOfkV7mx9mc8QtCQwBGfl-rPKIp2Se6IIQuOAVecpgqYDgCgXz8KuADxAwh8cRaag7nOC0nSxrJEn6WF-mzb7o1Luj5RMGu6fcQx_mS_iwHmY_d-OnXrSfULPkfxUWUkAjFquzEsAzYCkq94cZ6xw", "GET" );
	cli.SetRawPostData( "content=helasdf&type=text" );
	int ret = cli.Execute();

	printf("ret %d status %d content %s\n", ret, cli.Status(), cli.GetContent().c_str() );
	return 0;
}
